package cn.edu.ujn.lab3.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.edu.ujn.lab3.dao.Customer;

@Repository
public interface CustomerMapper {
    int deleteByPrimaryKey(Integer custId);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer custId);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
    
    
    // 客户列表
    List<Customer> selectCustomerList(Customer customer);
    
    // 客户数
    Integer selectCustomerListCount(Customer customer);

}